package com.atguigu.eduservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.eduservice.entity.EduVideo;
import com.atguigu.eduservice.entity.vo.VideoInfo;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author 老王
 * @since 2020-05-20
 */
public interface EduVideoService extends IService<EduVideo> {
    void saveVideoInfo(VideoInfo videoInfo);

    void updateVideoInfo(VideoInfo videoInfo);

    boolean removeVideoById(String videoId);

    EduVideo getVideoById(String id);

    boolean removeByCourseId(String courseId);
}
